package com.nbf.Util;

/** Helper class to let me sprinkle readable debug and console logging throughout the code
 * 
 * @author Zachary David
 *
 */
public class StringExt
{
	/** Makes a string formatted with a space in between each object<br>
	 * Useful for making readable debug logging
	 * 
	 * @param objects
	 * @return A string with a space in between each object's toString method
	 */
	public static String make(Object ... objects)
	{
		StringBuilder sb = new StringBuilder();
		
		for(int i = 0; i < objects.length; i++)
		{
			sb.append(objects[i]).append(" ");
		}
		
		return sb.toString();
	}
}
